package ast;

import java.io.PrintStream;
import java.util.Map;
import java.util.Scanner;
import java.util.Stack;

public class IntVarDecl extends VarDecl {
    public IntVarDecl(String i, Location loc) {
        super(i, loc);
    }

    public void print(PrintStream ps) {
        ps.print("int " + ident);
    }

    // interpret: does nothing (its work is done in the Decl class)
    public AbstractValue evaluate(Stack<Map<String, AbstractValue>> stateStack, Scanner scanner) throws Exception {
        // the put step has to be done in the Decl class
        return null;
    }
}
